import { http } from "@/utils/request"

// 根据订单获取评价
export const getCommentOne = (orderId: string) => {
    return http({
        method: 'GET',
        url: '/app-api/customer/comment/getCommentOne',
        data:{
            orderId
        }
    })
}
// 获取师傅评价列表
export const getCommentPageByWorker = (workUserId: string) => {
    return http({
        method: 'GET',
        url: '/app-api/customer/comment/getCommentPageByWorker',
        data:{
            workUserId
        }
    })
}